﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BuildBox.Server
{
    public static class ArgumentParser
    {
        public static string GetArgument(string[] args)
        {
            if (args == null || args.Length == 0)
            {
                return "console";
            }

            if (!args[0].StartsWith("/"))
            {
                return "help";
            }

            return args[0].ToLower().Substring(1);
        }
    }
}
